package com.example.softpart.controller;

import cn.dev33.satoken.stp.StpUtil;
import com.example.softpart.unil.callMagicAPi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.ssssssss.magicapi.core.service.MagicAPIService;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;


@RestController
@RequestMapping("/test")
public class TestController {


//    /**
//     * 依然可以直接编写controller
//     * @param testString
//     * @return
//     */


    @RequestMapping(value = "/test_methord", method = RequestMethod.POST)
    public String testConroller(String user_name,String password) {

        System.out.println(user_name);
        System.out.println(password);

     return user_name + "---" + password;
    }


}